// cover some element-ui styles
@import "./variables.scss";

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
// 富文本框
::v-deep .ql-container.ql-snow{
  box-shadow: inset 0px 0px 6px 1px $qlborder;
  border-radius: 0px 0px 5px 5px;
  opacity: 1;
  border: 1px solid $qlborder;
  height:90% ;
}
::v-deep  .ql-toolbar.ql-snow{
  box-shadow: inset 0px 0px 6px 1px $qlborder;
  border-radius: 5px 5px 0px 0px;
  opacity: 1;
  border: 1px solid $qlborder;
}
::v-deep .ql-snow .ql-stroke{
  stroke: $appMainTextColor;
}
::v-deep .ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill{
  fill:$appMainTextColor;
}
::v-deep .ql-snow .ql-picker-options{
  background-color: rgba(255, 255, 255, 0.356);
}
::v-deep .ql-picker-label::before{
  color: $appMainTextColor;
  position: absolute;
  left: 0;
}
::v-deep .ql-picker-label{
  position: relative;
}

// 搜索框可伸缩
::v-deep .el-collapse {
  width: 100%;
}
::v-deep .el-collapse {
  border: 0;
}
::v-deep .el-collapse-item__header {
  background-color: $hamburgerBgColor;
  border: 0;
}
::v-deep .el-collapse-item__arrow {
  margin: 0;
}
::v-deep .el-collapse-item__header {
  justify-content: flex-end;
  align-items: center;
}
::v-deep .el-collapse-item__wrap {
  background-color: $hamburgerBgColor;
  border: 0;
}

